package com.wanxi.service;

import com.wanxi.dto.ResultDTO;
import com.wanxi.model.ResultModel;

public interface BaseServiceModel<T> {
    ResultModel add(T t);

    ResultModel update(T t);

    ResultModel delete(T t);

    ResultModel findById(T t);

    ResultModel count(T t);

    ResultModel findAll(T t);
}
